//
//  ZQMeTableViewPage.m
//  BuDeJie
//
//  Created by zuqiu on 17/10/27.
//  Copyright © 2017年 zuqiu. All rights reserved.
//

#import "ZQMeTableViewPage.h"

@interface ZQMeTableViewPage ()

@end

@implementation ZQMeTableViewPage

- (void)viewDidLoad {
    [super viewDidLoad];
    
    [self setUpNavBar];
}

#pragma mark - 设置导航条
- (void)setUpNavBar
{
    // 右边按钮
    // 设置
     UIBarButtonItem  *settingItem = [UIBarButtonItem itemWithImage:@"mine-setting-icon" hightImage:@"mine-setting-icon-click" target:self action:@selector(settingClick)];
    
    // 夜间模式
    UIBarButtonItem  *nightItem = [UIBarButtonItem itemWithImage:@"mine-moon-icon" selImage:@"mine-moon-icon-click" target:self action:@selector(nightClick:)];
    self.navigationItem.rightBarButtonItems= @[settingItem,nightItem];
    // titleview
    self.navigationItem.title =  @"我的";
    
}
- (void)settingClick
{
    ZQLogFunc;
}
- (void)nightClick:(UIButton *)btn
{
    btn.selected = !btn.selected;
    ZQLogFunc;
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

#pragma mark - Table view data source

- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
#warning Incomplete implementation, return the number of sections
    return 0;
}

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
#warning Incomplete implementation, return the number of rows
    return 0;
}





@end
